libxl: add basic support for devices without backend
authorJuergen Gross <jgross@suse.com>
Tue, 20 Sep 2016 14:18:08 +0000 (16:18 +0200)
committerWei Liu <wei.liu2@citrix.com>
Tue, 20 Sep 2016 14:48:42 +0000 (15:48 +0100)
commit86741b1f4a2578df3fda7ff73cc208041d5e87b3
treedf7ea2ca0ec06cdfdaa3f1d70cbd1e15ee80d8f7
parent0503cafe62e505f53c7af149521a17cfe92f9bb7
libxl: add basic support for devices without backend

With the planned support of HVM USB passthrough via the USB emulation
capabilities of qemu libxl has to support guest devices which have no
back- and frontend. Information about those devices will live in the
libxl part of Xenstore only.

Add some basic support to libxl to be able to cope with this scenario.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_device.c
tools/libxl/libxl_types_internal.idl
tools/libxl/libxl_xshelp.c